﻿
using System;
namespace Microsoft.Data.Edm
{
    /// <summary>
    /// Represents an EDM property.
    /// </summary>
    public interface IEdmProperty : IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
    {
        /// <summary>
        /// Gets the kind of this property.
        /// </summary>
        EdmPropertyKind PropertyKind
        {
            get;
        }
        /// <summary>
        /// Gets the type of this property.
        /// </summary>
        IEdmTypeReference Type
        {
            get;
        }
        /// <summary>
        /// Gets the type that this property belongs to.
        /// </summary>
        IEdmStructuredType DeclaringType
        {
            get;
        }
    }
}